package com.example.mobile2021606185zhn0523;
public class News {
    private int id;
    private String title;
    private String image;
    private String content;

    public News(int id,String title,String image,String content){
        this.id = id;
        this.title = title;
        this.image = image;
        this.content = content;
    }

    public int getId(){
        return id;
    }

    public void  setId(int id){
        this.id = id;
    }

    public String getTitle(){
        return title;
    }
}
